in-class exercise 1: Now You Can See It!

Author

Xu Lin

Published

January 13, 2024

Modified

January 14, 2024

Loading R packages

In this hands-on exercise, two R packages will be used. They are:

The code chunk used is as follows:

pacman::p_load(tidyverse, haven)
stu.qqq <- read_sas("data/cy08msp_stu_qqq.format.sas")
stu_qqq_SG <- stu.qqq %>%
  filter(CNT == "SGP")
write_rds(stu_qqq_SG,
          "data/stu_qqq_SG.rds")
stu_qqq_SG <- read_rds("data/stu_qqq_SG.rds")